package org.eclipse.moquette.server;

import org.eclipse.moquette.spi.IMessaging;

import java.io.IOException;
import java.util.Properties;

/**
 * Created by alex on 15-5-29.
 */
public interface ServerAcceptor {

    void initialize(IMessaging messaging, Properties props) throws IOException;

    void close();
}
